<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>  
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>  
</head>
<body>
<form method="post" action="">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder">&nbsp;方法列表清单</strong></div>
    <table class="table table-hover text-center">
      <tr>
        <th width="10%">序号</th>
        <th width="20%">方法名称</th>
        <th width="45%">输入参数</th>
        <th width="25%">输出类型</th>
      </tr>
      	<#list methodList as classData>
        <tr>
          <td>${classData_index}</td>
          <td>${classData.name!'未解析出'}</td>
          <td>${classData.inputParametersText!'未解析出'}</td>
          <td>${classData.outputParametersText!'未解析出'}</td>
        </tr>
        </#list>
      <tr>
        <td colspan="7">
          <div class="pagelist">
          	<!-- class="current" -->
          	<#list pageIndexList as indexNo>      
          		<a href="methodlist?packageName=${packageName}&className=${className}&pageIndex=${indexNo}" target="right">${indexNo}</a>
        	</#list>
          </div>
       </td>
      </tr>
    </table>
  </div>
</form>
<script type="text/javascript">

function del(id){
	if(confirm("您确定要删除吗?")){
		
	}
}

$("#checkall").click(function(){ 
  $("input[name='id[]']").each(function(){
	  if (this.checked) {
		  this.checked = false;
	  }
	  else {
		  this.checked = true;
	  }
  });
})

function DelSelect(){
	var Checkbox=false;
	 $("input[name='id[]']").each(function(){
	  if (this.checked==true) {		
		Checkbox=true;	
	  }
	});
	if (Checkbox){
		var t=confirm("您确认要删除选中的内容吗？");
		if (t==false) return false; 		
	}
	else{
		alert("请选择您要删除的内容!");
		return false;
	}
}


</script>
</body></html>